package com.abhinav.designPatterns.prototpye;

public class Bike implements Cloneable {
	private int gears;
	private String bikeType;
	private String model;

	public Bike() {
		bikeType = "standard";
		model = "Leopard";
		gears = 4;
	}

	@Override
	public Bike clone() {
		return new Bike();
	}

	public void makeAdvance() {
		bikeType = "Advanced";
		model = "Jaguar";
		gears = 6;
	}

	public String getModel() {
		return model;
	}
}
